﻿<UserControl x:Class="Qplus.UI.WaitControl"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    d:DesignHeight="100" d:DesignWidth="480">
    
    <Grid x:Name="LayoutRoot" Background="#5E808080" >
        <ProgressBar Name="progressBar" Height="80"
                     Visibility="Collapsed"
                     Foreground="Red" 
                     HorizontalAlignment="Stretch" VerticalAlignment="Center" Margin="10"
                     IsIndeterminate="False" VerticalContentAlignment="Stretch" BorderThickness="10" />
        <TextBlock Name="progressTxt" Text="0%" VerticalAlignment="Center" FontSize="40" HorizontalAlignment="Center"
                   Visibility="Collapsed"/>
        <ProgressBar IsIndeterminate="True" Height="50"/>
    </Grid>
</UserControl>
